import type { SelectGroupOption, SelectOption } from 'naive-ui';

export interface BasicTreeSelectProps {
  cascade?: boolean;
  checkable?: boolean;
  checkStrategy?: string;
  childrenField?: string;
  consistentMenuWidth?: boolean;
  defaultExpandAll?: boolean;
  disabled?: boolean;
  expandedKeys?: Array<string | number>;
  keyField?: string;
  labelField?: string;
  disabledField?: string;
  maxTagCount?: number;
  multiple?: boolean;
  options?: Array<SelectOption | SelectGroupOption>;
  placeholder?: string;
  value: Array<string | number> | string | number | null | undefined;
  size?: string;
  /**
   * 共享数据的key
   */
  shareDataKey?: string;
  /**
   * 字典Key
   */
  dictionaryKey?: string;
  /**
   * 默认首项
   */
  defaultFirst?: boolean;
}
